#ifndef __BASEBOT_H__
#define __BASEBOT_H__

#include "stdafx.h"
#include "GameObject.h"
#include "Timer.h"

class BaseBot : public GameObject
{

public:
	BaseBot();
	~BaseBot(void);

	int m_radius;
	ActiveTimer m_timerShowShield;

	virtual void Update_PreCollision() {}
	virtual void Update_PostCollision() {}
	virtual void ResolveCollisions(){}

public:
	virtual void Draw();
	virtual void Update();
	virtual void Initialize();
	virtual void InitPhysics();
	virtual void TakeDamage(int damage);

	virtual void SaveData(CWriteFile* stream);
	virtual void LoadData(CReadFile* stream);

	virtual void LoadParams(IAttributes* attr);
	virtual void Load(IAttributes* attr){}

	virtual bool ShouldCollideWith( GameObject* h );

	void ShowSheild();

};

#endif